FROM alpine
RUN apk add  haproxy --update-cache --repository http://mirrors.ustc.edu.cn/alpine/v3.4/main/ --allow-untrusted
CMD ["haproxy", "-d", "-f", "/etc/haproxy/haproxy.cfg"]